
package com.ce.pms.custservice.service;

import java.math.BigDecimal;
import com.ce.pms.base.service.IPmsBaseService;
import com.ce.pms.custservice.vo.BillVO;

/**
 * 
 * 	名称: com.ce.pms.custservice.service.ICustServChargeService <br>
 * 客服事件增值服务接口
 *
 * @author  付湘辉  <br>
 * Created on： 2008-12-15 <br>
 * @author <br>
 * update on： <br>
 * why: <br>
 */
public interface ICustServChargeService extends IPmsBaseService {
   /**
    * 功能描述:  新增帐单 <br>
	* @param dFormID - 派工单ID
	* @param billVO - 帐单VO
    * @roseuid 492A64D30128
    * 
    * Create author:付湘辉 <br>
    * Create on:2008-12-15  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public BillVO addBill(Long dFormID, BillVO billVO);
   
   /**
    * 功能描述:检查指定的账单是否允许修改  <br>
    * @param billId 账单id
    *
    * Create author:付湘辉 <br>
    * Create on:2009-1-9  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public void checkIsAllowEditBill(Long billId);

   /**
    * 功能描述:传递费用  <br>
    * @param billID - 帐单ID
    * @param operator
    * @roseuid 492A6C07004E
    *
    * Create author:付湘辉 <br>
    * Create on:2008-12-26  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public BillVO delivery(Long billID, Long operator);

   /**
    * 功能描述: 修改帐单 <br>
    * @param billVO - 帐单VO
    * @roseuid 492A69DD0148
    *
    * Create author:付湘辉 <br>
    * Create on:2008-12-15  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public BillVO editBill(BillVO billVO);
   
   /**
    * 功能描述: 根据ID查询帐单 <br>
    * @param id
    * @return BillVO
    * @roseuid 49435F6F0290
    *
    * Create author:付湘辉 <br>
    * Create on:2008-12-23  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public BillVO getBillByID(Long id);

   /**
    * 功能描述:查询指定派工单的账单  <br>
    * @param dispatchFormId 派工单ID
    * @return
    *
    * Create author:付湘辉 <br>
    * Create on:2008-12-30  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public BillVO getBillVOByDispatchFormId(Long dispatchFormId);

   /**
    * 功能描述：通知更新帐单应收金额，只有新建状态的账单才能更新。
    * @param dFormID - 派工单ID
    * @param sumAmt - 应收金额
    * @roseuid 49365AD7033C
    *
    * Create author:付湘辉 <br>
    * Create on:2008-12-17  <br>
    * Edit author:  <br>
    * Edit on:    <br>
    * Why:     <br>
    */
   public void noteUpdateBill(Long dFormID, BigDecimal sumAmt);
   
   /**
    * 查询帐单列表
    * @param searchVO
    * @return List<BillVO>
    * @roseuid 49435FA7005D
    */
//   public List<BillVO> queryBillList(SearchVO searchVO);
   
   /**
    * 分页查询帐单
    * @param searchVO
    * @return Page
    * @roseuid 49435FD000FA
    */
//   public Page queryBillByPage(SearchVO searchVO);
}
